﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AttributeAndMethod    
{
    class Program
    {
        static void Main(string[] args)
        {
            Manager huanluanvien = new Manager(); 
            Goalie thumon = new Goalie();
            Defender trungve = new Defender();
            Midfielder tienve = new Midfielder();
            centralForward tiendao1 = new centralForward();
            centralForward tiendao2 = new centralForward();

            huanluanvien.name = "Luis Van Gan";
            huanluanvien.age = 43;
            huanluanvien.job = "Manager Club Manchester United";
            huanluanvien.Info();
            //Console.WriteLine("Thong tin huan luan vien clb bong da manchester united :");
            //Console.WriteLine("{0}",huanluanvien.name);
            //Console.WriteLine("{0}",huanluanvien.age);
            //Console.WriteLine("{0}",huanluanvien.job);
            //Infomation Goalie
            thumon.nameGoalie = "DeGea";
            thumon.ageGoalie=23;
            thumon.jobGoalie = "Goal of MU";
            thumon.Info();
            //Information Defender
            trungve.nameDefender = "chris Malling";
            trungve.ageDefender = 25;
            trungve.jobDefender = "Hau ve";
            trungve.nameDefender = "Phil Jone";
            trungve.ageDefender = 28;
            trungve.jobDefender = "Hau Ve";
            trungve.nameDefender = "Macos Rojo";
            trungve.ageDefender = 22;
            trungve.jobDefender = "Hau ve";

            //
            Console.WriteLine("Thong tin vi tri trung ve clb Mu!!!!!");
            Console.WriteLine("Ten:"+trungve.nameDefender);
            Console.WriteLine("tuoi:"+trungve.ageDefender);
            Console.WriteLine("Nghe nghiep:"+trungve.jobDefender);
            //Information Midfielder
            
            //Information centralForward
            tiendao1.nameCentralForward = "Wayne Rooney";
            tiendao1.ageCentralForward = 28;
            tiendao1.jobCentralForward = "Tien Dao";
            tiendao2.nameCentralForward = "Joan Mata";
            tiendao2.ageCentralForward = 29;
            tiendao2.jobCentralForward = "Tien Dao";
            Console.WriteLine("Thong tin vi tri tien dao clb MU!!!!");
            Console.WriteLine("Ten:"+tiendao1.nameCentralForward);
            Console.WriteLine("Tuoi:"+tiendao1.ageCentralForward);
            Console.WriteLine("Nghe Nghiep:"+tiendao1.jobCentralForward);
           tiendao2.InfoCentralForward();

        }
    }
}
